package com.ITArmy.beans.Shows;

import com.ITArmy.beans.Blog;
import com.ITArmy.beans.Comment;
import com.ITArmy.beans.Praise;
import com.ITArmy.beans.User;

public class PraiseMessage {
    //点赞信息
    private User user;

    private Praise praise;

    private Blog blog;

    private Comment comment;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Praise getPraise() {
        return praise;
    }

    public void setPraise(Praise praise) {
        this.praise = praise;
    }

    public Blog getBlog() {
        return blog;
    }

    public void setBlog(Blog blog) {
        this.blog = blog;
    }

    public Comment getComment() {
        return comment;
    }

    public void setComment(Comment comment) {
        this.comment = comment;
    }
    public PraiseMessage(){}
    public PraiseMessage(User user, Praise praise, Blog blog, Comment comment) {
        this.user = user;
        this.praise = praise;
        this.blog = blog;
        this.comment = comment;
    }

    @Override
    public String toString() {
        return "PraiseMessage{" +
                "user=" + user +
                ", praise=" + praise +
                ", blog=" + blog +
                ", comment=" + comment +
                '}';
    }
}
